home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
bbs
/
rokv203.zip
/
ROK.ZIP
/
RUNROK.BAT
< prev
next >
Wrap
DOS Batch File
|
1997-06-16
|
1KB
|
45 lines
@ECHO OFF
C:
REM CD\ROK
REM ^ SET THIS TO THE ROK DIRECTORY! (and delete the REM)
REM ** To make ROK look for a DropFile in another Dir - Use this parameter : **
REM
REM ** RUNROK.BAT * /p<path> **
REM
REM ** Where "*" is your Node Number, and "/p<path>" is without the trailing **
REM ** backslash "\" -- IE, /pc:\bbs will look for the dropfile in "c:\bbs". **
REM
REM ** We've included this information here because of the error in CONFIG's **
REM ** [S]etup Nodes menu Option #5 (dropfile path). We are trying to fix **
REM ** this error, but for now, this parameter will be a temporary fix. If **
REM ** you have any troubles with ROK getting the parameter to work, by all **
REM ** means, contact us at anytime, and we'll help you out! **
IF "%1" == "" GOTO STOP
if exist EGO%1.BAT DEL EGO%1.BAT
if exist ROKINFO.%1 DEL ROKINFO.%1
:BEGIN
ROK.EXE %1 %2
IF ERRORLEVEL 255 GOTO DONE
IF ERRORLEVEL 254 GOTO EGO
GOTO DONE
:EGO
CALL EGO%1.BAT
GOTO BEGIN
:STOP
cls
echo You MUST pass a node parameter! (ie RUNROK 1)
GOTO REALDONE
:DONE
if exist EGO%1.BAT DEL EGO%1.BAT
if exist ROKINFO.%1 DEL ROKINFO.%1
:REALDONE